<template>
  <!-- <el-form ref="formRef" :model="formModel" :rules="rules" label-width="120px" class="form" label-position="right">
    <el-form-item label="商品名称" prop="goodsName">
      <el-input v-model.trim="formModel.goodsName" class="form-item" />
    </el-form-item>
    <el-form-item label="品牌" prop="brandName">
      <el-input v-model.trim="formModel.brandName" class="form-item" />
    </el-form-item>
  </el-form> -->
  <div ref="formRef" class="content">
    <div class="content-1">
      <div class="item">
        <span class="item-l">用户ID</span>
        <span class="item-r">182778</span>
      </div>
      <div class="item">
        <span class="item-l">姓名</span>
        <span class="item-r">程梦妍</span>
      </div>
      <div class="item">
        <span class="item-l">手机号码</span>
        <span class="item-r">18223567881</span>
      </div>
      <div class="item">
        <span class="item-l">性别</span>
        <span class="item-r">女</span>
      </div>
      <div class="item">
        <span class="item-l">注册时间</span>
        <span class="item-r">2023-12-13</span>
      </div>
      <div class="item">
        <span class="item-l">职业</span>
        <span class="item-r">公司职员</span>
      </div>
      <div class="item">
        <span class="item-l">现居住地</span>
        <span class="item-r">深圳宝安区</span>
      </div>
      <div class="item">
        <span class="item-l">民族</span>
        <span class="item-r">汉</span>
      </div>
      <div class="item2">
        <span class="item2-l">详细地址</span>
        <span class="item2-r">宝明一路怀来社区蒙田新村123栋234号</span>
      </div>
    </div>
    <div class="content-2">
      <div class="content-2-title">
        <span>绑定宠物</span>
        <span>3</span>
      </div>
      <div class="content-2-item">
        <span class="content-2-item-l">小可爱</span>
        <span class="content-2-item-r">品种:泰迪</span>
      </div>
      <div class="content-2-item">
        <span class="content-2-item-l">小可爱</span>
        <span class="content-2-item-r">品种:泰迪</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    initData: {
      type: Object,
      default() {
        return {
          goodsName: ''
        }
      }
    }
  },
  data() {
    return {
      rules: {}
    }
  },
  created() {},
  computed: {
    formModel() {
      return this.initData
    }
  }
}
</script>

<style lang="less" scoped>
.form {
  width: 90%;
  .form-item {
    width: 100%;
  }
}
.content {
  flex-direction: column;
}
.content-1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.content-2 {
  flex-direction: column;
}
.item {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 180px;
  margin-right: 20px;
  margin-bottom: 20px;
}
.item-l {
  width: 70px;
  font-size: 14px;
  color: #212121;
}
.item-r {
  font-size: 14px;
  color: #212121;
}
.item2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}
.item2-l {
  width: 70px;
  font-size: 14px;
  color: #212121;
}
.item2-r {
  font-size: 14px;
  color: #212121;
}
.content-2-title {
  margin-bottom: 20px;
  font-size: 14px;
  color: #212121;
}
.content-2-item {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}
.content-2-item-l {
  width: 100px;
  font-size: 14px;
  color: #1684fd;
}
.content-2-item-r {
  font-size: 14px;
  color: #212121;
}
</style>
